package student.aistar.model.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import student.aistar.model.entity.Cart;
import student.aistar.model.entity.Product;

import java.util.List;

/**
 * 本类用来演示:  购物车和商品的DTO对象
 *
 * @author: qinFeng
 * @date: 2021/9/29 19:49
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CartProductDTO {
    private Integer countProducts;
    private Double totalPrices;
    List<Product> productList;
    List<Cart> cartList;
}
